home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Apps / AudioApps / GISO / Controller.h next >
Encoding:
Text File  |  1992-12-21  |  2.3 KB  |  101 lines

  1. /*    
  2. **    Copyright (C) 1992  Ronin Consulting, Inc.
  3. **
  4. **    This program is free software; you can redistribute it and/or modify
  5. **    it under the terms of the GNU General Public License as published by
  6. **    the Free Software Foundation; version 1.
  7. **
  8. **    This program is distributed in the hope that it will be useful,
  9. **    but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. **    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  11. **    GNU General Public License for more details.
  12. **
  13. **    You should have received a copy of the GNU General Public License
  14. **    along with this program; if not, write to the Free Software
  15. **    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16. */
  17. #import <objc/Object.h>
  18.  
  19. @interface Controller:Object
  20. {
  21.     id inType;
  22.     id outType;
  23.     id inRate;
  24.     id outRate;
  25.     id inRateText;
  26.     id outRateText;
  27.     id inDataForm;
  28.     id outDataForm;
  29.     id inDataSize;
  30.     id outDataSize;
  31.     id inChannels;
  32.     id outChannels;
  33.     id inHotList;
  34.     id outHotList;
  35.     id volume;
  36.     id dialog;
  37.     id swapBytes;
  38.     id effect;
  39.     id effectArgText;
  40.     id playButton;
  41.     id whichRadio;
  42.     id entryName;
  43.     id versionNo;
  44.  
  45.     id panel;
  46.     id openPanel;
  47.     id inFile;
  48.     id savePanel;
  49.     id outFile;
  50.     id dataFormSwitches;
  51.     id dataSizeSwitches;
  52.     id inHotListStr;
  53.     id inHotListConfig;
  54.     id outHotListStr;
  55.     id outHotListConfig;
  56.     id strings;
  57.     id theSound;
  58.     id soundMeter;
  59.     id convert;
  60.     id defaults;
  61.     id subprocess;
  62. }
  63.  
  64. - init;
  65. - convert:sender;
  66. - openFile:sender;
  67. - saveFile:sender;
  68. - saveToHotList: sender;
  69. - loadFromHotList: sender;
  70. - playIt: sender;
  71. - stopPlay: sender;
  72.  
  73. - copyValue: sender;
  74.  
  75. - (int)loadPopUpList: button with: strings from: (int) count;
  76.  
  77. - setVersionNo: anObject;
  78.  
  79. /* Application Delegate */
  80.  
  81. - appDidInit: sender;
  82. - cleanKill: sender;                 /* not a delegate but App related */
  83. - (BOOL)appAcceptsAnotherFile:sender;
  84. - (int)app:sender openFile:(const char *)filename type:(const char *)aType;
  85.  
  86. /* Sound Delegates */
  87.  
  88. - willPlay: sender;
  89. - didPlay: sender;
  90. - hadError: sender;
  91.  
  92. /* Subprocess Delegates */
  93.  
  94. - subprocess:sender done:(int)exitStatus;
  95. - subprocess:sender output:(char *)buffer;
  96. - subprocess:sender stderrOutput:(char *)buffer;
  97. - subprocess:sender error:(const char *)errorString;
  98.  
  99.  
  100. @end
  101.